#include "GBMors.h"
#include "reg52.h" 
#include "TimeIt.h"
sbit beep=P1^5;

unsigned char canBee;
unsigned long checkTime = 3;

void beep_once(){
	
}
void beep_on(){
		canBee = 1;
}
void beep_off(){
		canBee = 0;
}
void beepScanf(){
	if(canBee){
		if(checkTime == 0){
			beep = ~beep;
			checkTime = 3;
		}
		checkTime--;
		
	}
}